projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
473bbeb
)
testgtk: Fix the scrolledwindow test
author
Matthias Clasen
<mclasen@redhat.com>
Mon, 1 Jan 2018 15:24:12 +0000
(10:24 -0500)
committer
Matthias Clasen
<mclasen@redhat.com>
Tue, 2 Jan 2018 23:14:13 +0000
(18:14 -0500)
We need to expand here, otherwise things look wrong.
tests/testgtk.c
patch
|
blob
|
history
diff --git
a/tests/testgtk.c
b/tests/testgtk.c
index e3c1816da0669cb257200cda32a21e18708bc3f4..d709e213320ad0f70fddb37dd00df4043496092f 100644
(file)
--- a/
tests/testgtk.c
+++ b/
tests/testgtk.c
@@
-2791,6
+2791,8
@@
create_scrolled_windows (GtkWidget *widget)
gtk_window_set_title (GTK_WINDOW (window), "dialog");
scrolled_window = gtk_scrolled_window_new (NULL, NULL);
+ gtk_widget_set_hexpand (scrolled_window, TRUE);
+ gtk_widget_set_vexpand (scrolled_window, TRUE);
gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (scrolled_window),
GTK_POLICY_AUTOMATIC,
GTK_POLICY_AUTOMATIC);